Skip to content

igvm_c: fix macOS compatibility for Makefile and post_process.sh#123

Merged
chris-oo merged 3 commits into
microsoft:mainfrom
luigix25:fix_macos
Jun 9, 2026
Merged

igvm_c: fix macOS compatibility for Makefile and post_process.sh#123
chris-oo merged 3 commits into
microsoft:mainfrom
luigix25:fix_macos

Conversation

@luigix25

Copy link
Copy Markdown
Contributor

grep -oP uses Perl regex which is not supported by BSD grep on macOS. Replace it with sed for version parsing.

sed -i without a suffix argument is GNU-specific and incompatible with BSD.

use sed -i.bak which works on both GNU and BSD sed, and remove the backup files afterwards.

grep -oP uses Perl regex which is not supported by BSD grep on macOS.
Replace it with sed for version parsing.

sed -i without a suffix argument is GNU-specific and incompatible
with BSD.

use sed -i.bak which works on both GNU and BSD sed, and remove
the backup files afterwards.

Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
@chris-oo chris-oo enabled auto-merge (squash) June 9, 2026 20:16
@chris-oo chris-oo merged commit e6c3ff1 into microsoft:main Jun 9, 2026
6 checks passed
@luigix25 luigix25 deleted the fix_macos branch June 9, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants